package com.choosefine.springboot.devops.user.dto;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by dzq on 2017/1/7 0007.
 */
public class UpdateUserDTO {

    /**
     * 序号
     */
    @NotNull
    private Integer id;
    /**
     * 微信名
     */
    @NotBlank
    private String wxName;
    /**
     * 微信号
     */
    @NotBlank
    private String wxCode;
    private Date updateTime=new Date();
    /**
     * 状态：1有效，2失效
     */
    @NotNull
    private Byte status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWxName() {
        return wxName;
    }

    public void setWxName(String wxName) {
        this.wxName = wxName;
    }

    public String getWxCode() {
        return wxCode;
    }

    public void setWxCode(String wxCode) {
        this.wxCode = wxCode;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}
